home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / September 96 / Thick, Dashed line bug in ODF? < prev    next >
Encoding:
Internet Message Format  |  1996-09-19  |  963 b   |  [TEXT/ttxt]

  1. Subject:     Thick, Dashed line bug in ODF?
  2. Sent:        9/10/96 8:47 AM
  3. Received:    9/10/96 8:47 AM
  4. From:        motion@nbn.com (Arni McKinley)
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List
  7.  
  8.  
  9. I have noticed that FW_CLineShape::RenderLine() does not render a thick
  10. dashed lined in ODF DR1. It renders only a thick line. If the pen's size is
  11. changed to 1 pixel, it will then render a dashed line correctly. If the
  12. pen's size is  > 1 without a dashed line, it draws the thick line
  13. correctly. But it won't draw both together.
  14.  
  15. I call FW_CLineShape::RenderLine(gc, start, end, ink, style), where the
  16. style's pen size has been set using style.SetPenSize( newPenSize ), and the
  17. style's dash has been set using style.SetDashStyle( newPenDash )
  18.  
  19. Indeed a bug?
  20.  
  21. Arni
  22.  
  23.  
  24. Arni F. McKinley
  25. President
  26. MetaMind Software, Inc.
  27. Mill Valley, CA 94941
  28. motion@nbn.com
  29. www.nbn.com/people/minds
  30. _______________________________________